package com.example.cloud.entities.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author frank
 * @since 2020-10-18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class Payment extends Model<Payment> implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String serial;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
